package com.qingyun.pdfservice.client;

import com.qingyun.pdfservice.entity.Schedule;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "schedule-service", path = "/schedule")
public interface ScheduleClient {
    @GetMapping("/internal/byId")
    Schedule byId(@RequestParam("scheduleId")Long scheduleId);
}
